PGetPageMargins

Gets the page margins of the Document Master master page.


Query results

long xInside;
Inside margin (or left margin for single-sided publications) in twips
long yTop;
Top margin in twips
long xOutside;
Outside margin (or right margin for single-sided publications) in twips
long yBottom;
Bottom margin in twips
To change page margins, use the PPageMargins command.

Layout view only.
Use this query only in layout view.

Example.

PGetPageMargins pageMargins;
long width = pageMargins.xOutside - pageMargins.xInside;


See also

The PGetMasterPageInfoquery



Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support